package com.dongdongshop.em;

public enum ConstantEnum {
    SUCCESS(10000,"初始化成功"),
    ERROR(10001,"初始化失败"),
    UPDATE_SUCCESS(29002,"信息更新成功"),
    UPDATE_ERROR(10002,"信息更新失败"),
    NULL_ERROR(10003,"参数为空");
    private Integer code;
    private String message;

    ConstantEnum() {
    }

    ConstantEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
